package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTFunctor;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The FunctorFactory is used to create Functors
 * 
 * @author tessierj
 *
 */
public class FunctorFactory {
	private FunctorFactory() {
		
	}
	
	public static ASTFunctor createFunctor(ASTTranslationUnit translationUnit, String name) {
		return new ASTFunctor(translationUnit, IASTNodeTypes.FUNCTOR, name);
	}
}
